﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace carportal
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void SearchCar_Click(object sender, EventArgs e)
        {
            //Repeater1.DataBind();
        }
        protected void DropDownList7_Init(object sender, EventArgs e)
        {
            AddAny(sender);
        }

        private static void AddAny(object sender)
        {
            DropDownList dr = sender as DropDownList;
            ListItem li = new ListItem("Any", "-1");
            dr.Items.Add(li);
        }
    }
}
